<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <script src="lib/vue.global.js"></script>
    <link rel="stylesheet" href="style.css" />
    <title>再看 v-for</title>
  </head>
  <body>
    <div id="app">
      <div>
        <ul>
          <!-- <li v-for="value in blogPost">{{value}}</li> -->
          <li v-for="(value, name, index) in blogPost">
            {{index}}. {{name}} - {{value}}
          </li>
        </ul>
        <ul>
          <li v-for="todo in todos" :key="todo.id">{{ todo.content }}</li>
        </ul>
        <ul>
          <li v-for="n in 5" :key="n">{{ n }}</li>
        </ul>
      </div>
    </div>
    <script src="index.js"></script>
  </body>
</html>
